x86/msr: AMD MSR_SPEC_CTRL infrastructure
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 17 Jan 2022 20:29:09 +0000 (20:29 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 1 Feb 2022 13:20:44 +0000 (13:20 +0000)
commit22b9add22b4a9af37305c8441fec12cb26bd142b
tree136ae05f9b5aa6564f7b42d579ee02b9edf39ff6
parent614cec7d79d76786f5638a6e4da0576b57732ca1
x86/msr: AMD MSR_SPEC_CTRL infrastructure

Fill in VMCB accessors for spec_ctrl in svm_{get,set}_reg(), and CPUID checks
for all supported bits in guest_{rd,wr}msr().

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/msr.c